package com.hskn.hss.module.tlcostoperate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author hskn
 * @since 2021-05-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TlCostOperate implements Serializable {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 机构id
     */

    private String waterdept;
    /**
     * 机构名称
     */
    @TableField(exist = false)
    private String waterdeptName;

    /**
     * 费用类型
     */
    private String costtype;
    /**
     * 用水量
     */
    private Double waterusage;

    /**
     * 单价
     */
    private BigDecimal unit;

    /**
     * 总费用
     */
    private BigDecimal totalcost;

    /**
     * 缴费时间
     */
    private Date paytime;
    /**
     * 缴费时间字符串
     */
    @TableField(exist = false)
    private String payTimeString;

    /**
     * 缴费人
     */
    private String payperson;
    /**
     * 缴费人name
     */
    @TableField(exist = false)
    private String paypersonName;

    /**
     * 服务商
     */
    private String servicevendor;

    /**
     * 地址坐标
     */
    private String addr;

    /**
     * 地址详细
     */
    private String addrdetail;

    /**
     * 附件地址
     */
    private String fileurl;

    /**
     * 备注
     */
    private String remark;

    private String createby;

    private Date createtime;

    private String updateby;

    private Date updatetime;

    private String deptid;
    /**
     *费用类型小类
     */
    private String costtypeitem;
    /**
     *费用类型小类
     */
    @TableField(exist = false)
    private String costtypeitemName;


}
